Fix get_toml() when cfg(test)
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Sat, 4 May 2024 11:38:10 +0000 (13:38 +0200)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Sat, 4 May 2024 11:38:10 +0000 (13:38 +0200)
commit29777b8d41495e26caf499d7b0934badf403af03
tree7975cafa068b9ab0c716dd3072f985984b7f8486
parente03140523cf5454ff12cdd2a7d3d570d992c7dc2
Fix get_toml() when cfg(test)

Bug: https://github.com/rust-lang/rust/issues/105766
Last-Update: 2023-03-29

When cfg(test), Config::parse doesn't parse a config.toml but uses default
values, failing when the initial rustc is needed. This is a workaround before
upstream issue gets solved.
Last-Update: 2023-03-29
Gbp-Pq: Name u-fix-get-toml-when-test.patch
src/bootstrap/config.rs